package com.acme.task2;

public class GCTest {

	private static final int DEF_SIZE = 1000;
	byte array[] = new byte[1024];

	public static void main(String[] args) {
		
		testTask2(args);
		
	}
	
	public static void testTask2(String[] args){
		
		int numberOfIterations = GCTest.DEF_SIZE;
		if (args.length == 1) {
            numberOfIterations = Integer.parseInt(args[0]);
		} 
		
		Foo[] masfoo = new Foo[numberOfIterations];
		
		for (int i = 0; i < numberOfIterations; i++) {

			masfoo[i] = new Foo(i);
		}
	}

}
